﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApp_bootstrap.Default" %>

<!DOCTYPE html>
<html lang="en">
  <head runat="server">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Starter Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
   
    <link href="css/starter-template.css" rel="stylesheet" />
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
   
    <script src="js/ie-emulation-modes-warning.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
   
    <script src="js/ie10-viewport-bug-workaround.js"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Project name</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>


    <div class="container"><!--inicio /.container -->
      <div class="starter-template">
        <h1>Uso de Bootstrap</h1>
        <p class="lead">gracias por visitar mi página..</p>
      </div>
      <form id="form1" runat="server" class="form-horizontal" role="form">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

         <div class="row">
              <div class="col-md-4">Columna 1</div>
              <div class="col-md-4">

                  <div class="form-group">
                       <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
                       <div class="col-sm-10">
                           <asp:TextBox ID="txtMail" runat="server" class="form-control" type="email" placeholder="Email" >
                           </asp:TextBox>                          
                      </div>
                  </div>
                  <div class="form-group">
                       <label for="inputEmail3" class="col-sm-2 control-label">Nombre</label>
                       <div class="col-sm-10">
                           <asp:TextBox ID="txtNombre" type="text" runat="server" class="form-control" placeholder="Nombre">
                           </asp:TextBox>                          
                      </div>
                  </div>
                  <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <asp:Button ID="btnEnviar" runat="server" Text="Enviar" class="btn btn-danger" OnClick="btnEnviar_Click"/>                       
                    </div>
                 </div>


              </div>
              <div class="col-md-4">
                  <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:GridView ID="GridView1" runat="server" class="table table-hover">                       
                        </asp:GridView>
                    </ContentTemplate>
                      <Triggers>
                          <asp:AsyncPostBackTrigger ControlID="btnEnviar" EventName="Click" />
                      </Triggers>
                  </asp:UpdatePanel>
              
              </div>
        </div>                        
      </form>
    </div><!--fin /.container -->


   
       <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>     
  </body>
</html>

<%--<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>--%>
